package com.example.demo.entity;

import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import java.time.LocalDate;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import java.io.Serializable;

/**
 * <p>
 * 用户表
 * </p>
 *
 * @author hangge
 * @since 2020-07-25
 */
public class UserT extends Model<UserT> {

    private static final long serialVersionUID=1L;

    @TableId(value = "d_id", type = IdType.AUTO)
    private Integer dId;

    /**
     * 手机号
     */
    private String mobile;

    /**
     * 密码
     */
    private String password;

    /**
     * 角色
     */
    private String role;

    /**
     * 姓名
     */
    private String name;

    /**
     * 性别
     */
    private Integer sex;

    /**
     * 大头像
     */
    private String lPhoto;

    /**
     * 小头像
     */
    private String sPhoto;

    /**
     * 黑名单
     */
    private Integer black;

    private BigDecimal balance;

    private String remark;

    /**
     * 身份证号
     */
    private String idCard;

    private LocalDate firstIssueDate;

    /**
     * 创建时间
     */
    private LocalDateTime createTime;

    private String backAccount;

    private String delState;

    /**
     * 锁定状态
     */
    private Integer lockState;

    /**
     * 消费积分
     */
    private Integer costIntegral;

    /**
     * 信誉积分
     */
    private Integer creditIntegral;

    /**
     * 所属城市
     */
    private String city;

    /**
     * 省份
     */
    private String province;

    /**
     * 1--根据手机号更新,2--通过登录更新
     */
    private Integer cityWay;

    private Integer isFalse;

    /**
     * 艾鼬币
     */
    private BigDecimal fitchewCoin;

    /**
     * 0非免押金，1免押金
     */
    private Integer isVip;

    /**
     * 车主可提现金额
     */
    private BigDecimal canGetCash;


    public Integer getdId() {
        return dId;
    }

    public void setdId(Integer dId) {
        this.dId = dId;
    }

    public String getMobile() {
        return mobile;
    }

    public void setMobile(String mobile) {
        this.mobile = mobile;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getRole() {
        return role;
    }

    public void setRole(String role) {
        this.role = role;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Integer getSex() {
        return sex;
    }

    public void setSex(Integer sex) {
        this.sex = sex;
    }

    public String getlPhoto() {
        return lPhoto;
    }

    public void setlPhoto(String lPhoto) {
        this.lPhoto = lPhoto;
    }

    public String getsPhoto() {
        return sPhoto;
    }

    public void setsPhoto(String sPhoto) {
        this.sPhoto = sPhoto;
    }

    public Integer getBlack() {
        return black;
    }

    public void setBlack(Integer black) {
        this.black = black;
    }

    public BigDecimal getBalance() {
        return balance;
    }

    public void setBalance(BigDecimal balance) {
        this.balance = balance;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    public String getIdCard() {
        return idCard;
    }

    public void setIdCard(String idCard) {
        this.idCard = idCard;
    }

    public LocalDate getFirstIssueDate() {
        return firstIssueDate;
    }

    public void setFirstIssueDate(LocalDate firstIssueDate) {
        this.firstIssueDate = firstIssueDate;
    }

    public LocalDateTime getCreateTime() {
        return createTime;
    }

    public void setCreateTime(LocalDateTime createTime) {
        this.createTime = createTime;
    }

    public String getBackAccount() {
        return backAccount;
    }

    public void setBackAccount(String backAccount) {
        this.backAccount = backAccount;
    }

    public String getDelState() {
        return delState;
    }

    public void setDelState(String delState) {
        this.delState = delState;
    }

    public Integer getLockState() {
        return lockState;
    }

    public void setLockState(Integer lockState) {
        this.lockState = lockState;
    }

    public Integer getCostIntegral() {
        return costIntegral;
    }

    public void setCostIntegral(Integer costIntegral) {
        this.costIntegral = costIntegral;
    }

    public Integer getCreditIntegral() {
        return creditIntegral;
    }

    public void setCreditIntegral(Integer creditIntegral) {
        this.creditIntegral = creditIntegral;
    }

    public String getCity() {
        return city;
    }

    public void setCity(String city) {
        this.city = city;
    }

    public String getProvince() {
        return province;
    }

    public void setProvince(String province) {
        this.province = province;
    }

    public Integer getCityWay() {
        return cityWay;
    }

    public void setCityWay(Integer cityWay) {
        this.cityWay = cityWay;
    }

    public Integer getIsFalse() {
        return isFalse;
    }

    public void setIsFalse(Integer isFalse) {
        this.isFalse = isFalse;
    }

    public BigDecimal getFitchewCoin() {
        return fitchewCoin;
    }

    public void setFitchewCoin(BigDecimal fitchewCoin) {
        this.fitchewCoin = fitchewCoin;
    }

    public Integer getIsVip() {
        return isVip;
    }

    public void setIsVip(Integer isVip) {
        this.isVip = isVip;
    }

    public BigDecimal getCanGetCash() {
        return canGetCash;
    }

    public void setCanGetCash(BigDecimal canGetCash) {
        this.canGetCash = canGetCash;
    }

    @Override
    protected Serializable pkVal() {
        return this.dId;
    }

    @Override
    public String toString() {
        return "UserT{" +
        "dId=" + dId +
        ", mobile=" + mobile +
        ", password=" + password +
        ", role=" + role +
        ", name=" + name +
        ", sex=" + sex +
        ", lPhoto=" + lPhoto +
        ", sPhoto=" + sPhoto +
        ", black=" + black +
        ", balance=" + balance +
        ", remark=" + remark +
        ", idCard=" + idCard +
        ", firstIssueDate=" + firstIssueDate +
        ", createTime=" + createTime +
        ", backAccount=" + backAccount +
        ", delState=" + delState +
        ", lockState=" + lockState +
        ", costIntegral=" + costIntegral +
        ", creditIntegral=" + creditIntegral +
        ", city=" + city +
        ", province=" + province +
        ", cityWay=" + cityWay +
        ", isFalse=" + isFalse +
        ", fitchewCoin=" + fitchewCoin +
        ", isVip=" + isVip +
        ", canGetCash=" + canGetCash +
        "}";
    }
}
